package com.dkm.orproject.dkmoa.dao;

import com.dkm.orproject.dkmoa.domain.OaBatchOvertimeFlow;
import com.dkm.orproject.dkmoa.domain.OaRegularFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OaBatchOvertimeFlowMapper {
    int deleteByPrimaryKey(Long pkBatchOvertimeId);

    int insert(OaBatchOvertimeFlow record);

    int insertSelective(OaBatchOvertimeFlow record);

    OaBatchOvertimeFlow selectByPrimaryKey(Long pkBatchOvertimeId);

    int updateByPrimaryKeySelective(OaBatchOvertimeFlow record);

    int updateByPrimaryKey(OaBatchOvertimeFlow record);

    List<OaBatchOvertimeFlow> findAll(@Param("batchOvertimeName") String batchOvertimeName,@Param("startDate") String startTime,@Param("endDate") String endTime);

    Long rowCount(@Param("batchOvertimeName") String batchOvertimeName,@Param("startDate") String startTime,@Param("endDate") String endTime);

    List<OaRegularFlow> selectAll(@Param("list") List<Long> list);

    int deleteAll(@Param("list") List<Long> list);
}